<template>
  <div class="errPage-container">
    <div class="box">
      <img src="../../assets/images/404.png" class="img" />
      <div class="box-right">
        <div class="title">
          抱歉，您访问的页面不存在
        </div>
        <div class="desc">
          可能的原因：输入网址错误，网址已失效······<br />
          请检查地址是否正确，或刷新页面
        </div>
        <div class="btn" @click="reback">
          返回首页
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "page404",
  data() {
    return {};
  },
  methods: {
    //返回
    reback() {
      this.$router.push("/");
    }
  }
};
</script>

<style lang="scss" scoped>
.errPage-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;

  .box {
    display: flex;
    align-items: center;
    .box-right {
      margin-left: 71px;
      .title {
        font-family: PingFangSC-Semibold;
        font-size: 40px;
        color: #424a70;
      }
      .desc {
        margin-top: 22px;
        font-family: PingFangSC-Regular;
        font-size: 26px;
        color: #9ca1bc;
      }
      .btn {
        margin-top: 87px;
        width: 200px;
        height: 48px;
        background: #387bf6;
        border-radius: 4px;
        text-align: center;
        line-height: 48px;
        font-family: PingFangSC-Regular;
        font-size: 16px;
        color: #ffffff;
        cursor: pointer;
      }
    }
  }
}
</style>
